package com.itheima.reggie.dto;


import com.itheima.reggie.pojo.Dish;
import com.itheima.reggie.pojo.DishFlavor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.util.ArrayList;
import java.util.List;

/**
 * dto :data transfor object 数据传输对象,一般用于展示层与服务层之间数据传输
 */
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Data
public class DishDto extends Dish {


    private List<DishFlavor> flavors=new ArrayList<>();

    private String categoryName;


}
